package com.zxx.pattern.filterPattern;

/**
 * @author zxx on 2021/8/12
 */
public class Person {
    public String name; // 姓名
    public String gender; // 性别
    public String marital; // 婚姻情况

    public Person(String name, String gender, String marital) {
        this.name = name;
        this.gender = gender;
        this.marital = marital;
    }

    @Override
    public String toString() {
        return "Person [name=" + name + ",gender=" + gender + ", marital=" + marital + "]";
    }

}
